package com.restaurant.mapper;

import com.restaurant.po.Customer;
import java.util.List;

public interface CustomerMapper {
    int insertCustomer(Customer customer);
    int deleteCustomer(Integer id);
    int updateCustomer(Customer customer);
    Customer selectCustomerById(Integer id);
    List<Customer> selectAllCustomers();
    Customer selectCustomerByPhone(String phone);
}